/*
 * $Id: convert.h 98 2008-05-23 14:59:44Z wimpunk $
 *
 * $LastChangedDate: 2008-05-23 14:59:44 +0000 (Fri, 23 May 2008) $
 * $Rev: 98 $
 * $Author: wimpunk $
 *
 * */
#include "bat3.h"

float battV(unsigned short ticks) ;
int battI(unsigned short ticks); // return uA
float tempC(short int tmp);
int decodemsg(char *msg, int size, struct bat3* mybat3, FILE *logfile);
int encodemsg(char *msg, int size, struct bat3* mybat3);
void print_bat3(int fd, struct bat3* mybat3);
